<div class="general-form">
	<fieldset>			
		<legend>New Shim</legend>
		<% unless @type %>
			Select what kind of shim you would like to create:<br/>
		  <%= link_to 'Script-based', new_shim_url + '?type=file' -%><br/>
	    <%= link_to 'Service-based', new_shim_url + '?type=service' -%><br/>
    <% end %>
    
    <%= render :partial => 'file_form', :locals => {
        :the_shim => @shim, :the_action => "create"} if @type == "file" %>
    <%= render :partial => 'service_form', :locals => {
        :the_shim => @shim, :the_action => "create"} if @type == "service" %>
		<br />
		<%= link_to 'View All Shims', shims_path %>		
	</fieldset>			
</div>